package com.labelimage.common.response;

import lombok.Data;

@Data
public class WS<T> {
    private String action;
    private T content;

    public static<T> WS<T> OK(String action,T content) {
        WS<T> ws = new WS<T>();
        ws.setAction(action);
        ws.setContent(content);
        return ws;
    }
}
